const movieStorage = localStorage.getItem("Vuex-movie")

//配置state对象
export default {
  msg: movieStorage ? JSON.parse(movieStorage).msg : "Vuex",
  num: movieStorage ? JSON.parse(movieStorage).num : 1,
  movieList: movieStorage ? JSON.parse(movieStorage).movieList : []
}